//
//  NSDictionary+Helper.m
//  Doumi
//
//  Created by reyzhang on 2021/3/17.
//  Copyright © 2021 myjs. All rights reserved.
//

#import "NSDictionary+Helper.h"

@implementation NSDictionary (Helper)

/**
 验证接口返回结果 是否成功
 */
- (BOOL)isSuccess {
    NSInteger code = [self[@"code"] integerValue];
    return (code == 0);
}


@end
